package com.sxfq.loansupermarket.backsystem.modular.theTest.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 登录/注册返回的 token 和 security
 * Created by GX on 2017/9/2.
 */
@ApiModel(value = "登录/注册返回值封装")
public class TokenDto implements Serializable {

    @ApiModelProperty(value = "唯一凭证")
    private String token;
    @ApiModelProperty(value = "密码,其他项目调用时返回")
    private String pwd;

    @ApiModelProperty(value = "用户真实姓名")
    private  String name;

    @ApiModelProperty(value = "身份证号码")
    private  String idCard;

    @ApiModelProperty(value = "手机号码")
    private  String phone;

    @ApiModelProperty(value="渠道号")
    private Integer channel;
    @ApiModelProperty(value = "用户图片")
    private String head_Img_Url;
    @ApiModelProperty(value = "昵称")
    private String nickName;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public String getHead_Img_Url() {
        return head_Img_Url;
    }

    public void setHead_Img_Url(String head_Img_Url) {
        this.head_Img_Url = head_Img_Url;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
